To walk about, especially after prolonged time sitting or lying down.
I needed to stretch my legs after spending all day sitting around in meetings.